package com.xiaomili.halfsugar.constant;

/**
 * Created by Administrator on 2016/7/19.
 */
public class UrlString {

    public static final String BASE_URL = "http://open4.bantangapp.com";

    //community--article
    public static final String COMMUNITY_ARTICLE_URL = BASE_URL + "/community/post/article?app_id=com.jzyd.BanTang&client_id=bt_app_android&client_secret=ffcda7a1c4ff338e05c42e7972ba7b8d";

    public static final String COMMUNITY_HOT_URL = BASE_URL + "/topics/topic/listByUsers?app_id=com.jzyd.BanTang&client_id=bt_app_android&client_secret=ffcda7a1c4ff338e05c42e7972ba7b8d&v=15&page=0&pagesize=10&sort_type=1";

    public static final String COMMUNITY_LATEST_URL = BASE_URL + "/topics/topic/listByUsers?app_id=com.jzyd.BanTang&client_id=bt_app_android&client_secret=ffcda7a1c4ff338e05c42e7972ba7b8d&v=15&page=0&pagesize=10&sort_type=0";

    //community--product
    public static final String COMMUNITY_PRODUCT_CATEGORY = BASE_URL + "/community/post/index?app_id=com.jzyd.BanTang&client_id=bt_app_android&client_secret=ffcda7a1c4ff338e05c42e7972ba7b8d&v=15";

    public static final String COMMUNITY_PRODUCT_HOT_RECOMMAND = BASE_URL + "/community/post/hotRecommend?app_id=com.jzyd.BanTang&client_id=bt_app_android&client_secret=ffcda7a1c4ff338e05c42e7972ba7b8d&v=15&page=0&pagesize=18";

    //Search
    public static final String PRODUCT_URL = BASE_URL + "category/list?app_id=com.jzyd.BanTang&client_id=bt_app_android&client_secret=ffcda7a1c4ff338e05c42e7972ba7b8d&v=15&is_new=1";
    public static final String MANIFEST_URL = BASE_URL + "category/scene?app_id=com.jzyd.BanTang&client_id=bt_app_android&client_secret=ffcda7a1c4ff338e05c42e7972ba7b8d&v=15";

    //Home
    public static final String[] INDEX_URL = {
            "http://open4.bantangapp.com/recommend/index?app_id=com.jzyd.BanTang&client_id=bt_app_android&client_secret=ffcda7a1c4ff338e05c42e7972ba7b8d&v=15&page=0&pagesize=20",
            //用户原创
            "http://open4.bantangapp.com/topics/topic/listByIds?app_id=com.jzyd.BanTang&client_id=bt_app_android&client_secret=ffcda7a1c4ff338e05c42e7972ba7b8d&ids=6586%2C6487%2C6597%2C6524%2C6459%2C6452%2C6380%2C6369%2C6327%2C5915%2C6124%2C5868%2C6037%2C5987%2C5809%2C5673%2C5554%2C5803%2C5379%2C5718%2C5796%2C5732%2C5254%2C5435%2C4388%2C5456%2C5364%2C5736%2C5709%2C5695%2C5341%2C5680%2C5546%2C5671%2C5616%2C5549%2C5626%2C5371%2C3708%2C5573%2C5565%2C5441%2C5503%2C5107%2C5475%2C5281%2C5236%2C5196%2C3521%2C5259",
            //一周最热
            "http://open4.bantangapp.com/topics/topic/listByIds?app_id=com.jzyd.BanTang&client_id=bt_app_android&client_secret=ffcda7a1c4ff338e05c42e7972ba7b8d&v=16&ids=5409%2C5567%2C5602%2C5607%2C6249%2C5564%2C6241%2C5478%2C5888%2C6019%2C5887%2C4765%2C4707%2C4313%2C4834",
            //美妆&穿搭
            "http://open4.bantangapp.com/topics/topic/listByScene?app_id=com.jzyd.BanTang&client_id=bt_app_android&client_secret=ffcda7a1c4ff338e05c42e7972ba7b8d&v=16&page=0&pagesize=20&id=13",
            //礼物
            "http://open4.bantangapp.com/topics/topic/listByScene?app_id=com.jzyd.BanTang&client_id=bt_app_android&client_secret=ffcda7a1c4ff338e05c42e7972ba7b8d&v=16&page=0&pagesize=20&id=3",
            //美食
            "http://open4.bantangapp.com/topics/topic/listByScene?app_id=com.jzyd.BanTang&client_id=bt_app_android&client_secret=ffcda7a1c4ff338e05c42e7972ba7b8d&v=16&page=0&pagesize=20&id=15",
            //设计感
            "http://open4.bantangapp.com/topics/topic/listByScene?app_id=com.jzyd.BanTang&client_id=bt_app_android&client_secret=ffcda7a1c4ff338e05c42e7972ba7b8d&v=16&page=0&pagesize=20&id=16",
            //文艺
            "http://open4.bantangapp.com/topics/topic/listByScene?app_id=com.jzyd.BanTang&client_id=bt_app_android&client_secret=ffcda7a1c4ff338e05c42e7972ba7b8d&v=16&page=0&pagesize=20&id=8",
            //学生党
            "http://open4.bantangapp.com/topics/topic/listByScene?app_id=com.jzyd.BanTang&client_id=bt_app_android&client_secret=ffcda7a1c4ff338e05c42e7972ba7b8d&v=16&page=0&pagesize=20&id=5"
    };

    public static final String LISTDETAIL_URL = "http://open4.bantangapp.com/topic/newInfo?app_id=com.jzyd.BanTang&client_id=bt_app_android&client_secret=ffcda7a1c4ff338e05c42e7972ba7b8d&v=16&id=";
}
